﻿/**
 * Badgr2 is the entry point class for the badgr2 package,
 * unlike the monolithic badgr package, the architecture of
 * badgr2 is built in a more modular way...
 *
 * Badgr2 provides default values, accepts the control 
 * parameters and starts the jobs required,
 * 
 * The other classes in the suite are...
 * 
 * Package...flickrrequests
 * flickrrequests.PeopleGetPublicPhotos
 * flickrrequests.GroupsPoolsGetPhotos
 * flickrrequests.PhotosetsGetPhotos
 * flickrrequests.PhotoSearch
 * flickrrequests.FavouriteSearch
 * flickrrequests.PeopleGetInfo
 *  
 * Package...flickrhandlers
 * flickrhandlers.onPeopleGetPublicPhotos
 * flickrhandlers.onGroupsPoolsGetPhotos
 * flickrhandlers.onPhotosetsGetPhotos
 * flickrhandlers.onPhotoSearch
 * flickrhandlers.onFavouriteSearch
 * flickrhandlers.onPeopleGetInfo
 * flickrhandlers.onError
 * 
 * Package...image
 * image.Loader
 * image.ConvertToBitmap
 * image.Frame
 * image.Zoom
 * image.Image
 *  
 * Package...grid
 * grid.Builder
 * 
 * Package...photoset
 * photoset.Manager
 * 
 * Package...
 * 
 * 
 * 
 * @author Jason
 */
class com.mentalaxis.flickr.badgr2.Badgr2 {
	
	private var canvas:MovieClip;
	private var badgrmode:String;
	private var tags:String;
	private var flickrid:String;
	private var limit:String;
	private var timing:String;
	private var displayTime:String;
	private var rows:String;
	private var columns:String;
	private var frameScaling:String;
	private var frameColors:String;
	private var frameAlphas:String;
	private var rollingSelection:String;
	private var anytag:String;
	private var alltag:String;
	private var uploaddate:String;
	private var takendate:String;
	private var datebefore:String;
	private var dateafter:String;
	private var sortMode:String;
	private var windowTarget:String;
	private var gridSize:String;
	private var imageSize:String;
	private var srcSize:String;
	
	public function Badgr2(
			canvas:MovieClip,
			badgrmode:String,
			tags:String,
			flickrid:String,
			limit:String,
			timing:String,
			displayTime:String,
			rows:String,
			columns:String,
			frameScaling:String,
			frameColors:String,
			frameAlphas:String,
			rollingSelection:String,
			anytag:String,
			alltag:String,
			uploaddate:String,
			takendate:String,
			datebefore:String,
			dateafter:String,
			sortMode:String,
			windowTarget:String,
			gridSize:String,
			imageSize:String,
			srcSize:String
			) {
		// initalise logging to Flash's output window
		// LogWrapper.getInstance().init();
		// LogWrapper.getInstance().addTracePublisher();
	
		Stage.scaleMode = "noScale";
		Stage.align = "TL";
		
		
	}
}